﻿@model SchoolProject2012.Areas.Eleve.Models.EVENEMENT
@using SchoolProject2012.Langue
@{
    ViewBag.Title = Resources.addEvent;
    if (Request.Browser.IsMobileDevice == true) { Layout = "~/Areas/Shared/Views/Shared/_Layout.Mobile.cshtml"; }
}


@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>@Resources.addEvent</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.LIB_EVE)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.LIB_EVE)
            @Html.ValidationMessageFor(model => model.LIB_EVE)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.DESC_EVE)
        </div>
        <div class="editor-field">
            @Html.TextAreaFor(model => model.DESC_EVE)
            @Html.ValidationMessageFor(model => model.DESC_EVE)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.TYPE_EVE)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.TYPE_EVE)
            @Html.ValidationMessageFor(model => model.TYPE_EVE)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.DATE_DBT_EVE)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.DATE_DBT_EVE)
            @Html.ValidationMessageFor(model => model.DATE_DBT_EVE)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.DATE_FIN_EVE)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.DATE_FIN_EVE)
            @Html.ValidationMessageFor(model => model.DATE_FIN_EVE)
        </div>

        <p>
            <input type="submit" value="@Resources.valider" />
        </p>
    </fieldset>
}